package com.itmk.web.course.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.itmk.web.course.entity.Course;
import com.itmk.web.course.entity.CourseParm;
import com.itmk.web.course.entity.SelectCourse;
import org.apache.ibatis.annotations.Param;

/**
 * @Author java实战基地
 * @Version 3501754007
 */
public interface CourseMapper extends BaseMapper<Course> {
    IPage<Course> getSelectCourse(IPage<Course> page, @Param("parm") CourseParm parm);
    IPage<SelectCourse> getStuCourse(IPage<SelectCourse> page, @Param("parm") CourseParm parm);
    IPage<Course> getTeacherCourse(IPage<Course> page, @Param("parm") CourseParm parm);
}
